home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Controls
/
Visual Basic Controls.iso
/
vbcontrol
/
em7sui_1
/
em7sui~1.exe
/
PopupSurfaceTest.wr_
/
PopupSurfaceTest.wr
Wrap
Text File
|
1998-10-22
|
3KB
|
120 lines
#VRML V2.0 utf8
# Copyright Electrohouse 1998
# This file may not be copied, modified or distributed
# in any way which violates the ProtoPak licensing
# agreement established by Electrohouse.
EXTERNPROTO Green [ exposedField SFFloat transparency ] "..\Appearances\PlasticMaterials.wrl#color12"
EXTERNPROTO em7_ElevationWireframe [
exposedField SFColor color
field SFInt32 xDimension
field SFFloat xSpacing
field SFInt32 zDimension
field SFFloat zSpacing
field MFFloat height
field MFInt32 xMask
field MFInt32 zMask
eventIn SFInt32 set_xDimension
eventIn SFFloat set_xSpacing
eventIn SFInt32 set_zDimension
eventIn SFFloat set_zSpacing
eventIn MFFloat set_height
eventIn MFInt32 set_xMask
eventIn MFInt32 set_zMask
] "..\VR_GRAPH.wrl#em7_ElevationWireframe"
EXTERNPROTO em7_PopupSurface [
field SFInt32 xDimension
field SFFloat xSpacing
field SFInt32 zDimension
field SFFloat zSpacing
field SFFloat radius
field MFFloat height
field SFColor color
field SFFloat transparency
field SFString defaultPopupText
field SFFloat popupHeight
field SFString allignment
field MFString popupText
exposedField SFColor textColor
exposedField SFColor backgroundColor
exposedField SFColor borderColor
exposedField SFBool touchEnabled
eventIn MFString set_popupText
eventIn MFFloat set_height
eventOut SFBool isOver
eventOut SFInt32 mouseOverIndex
eventOut SFInt32 mouseClickedIndex
] "..\VR_GRAPH.wrl#em7_PopupSurface"
NavigationInfo {
headlight FALSE
}
Background {
skyColor [
0 0 0.2
0.7 0.7 0.8
1 1 1
]
skyAngle [3, 6]
}
em7_ElevationWireframe {
color 0.4 0.2 0.3
xDimension 8
xSpacing 1.3
zDimension 3
zSpacing 1
height [0.1, 0.2, 0.15, 0.4, 1, 1.2, 1, 0.8, 0.3, 0.5, 0.9, 1.4, 1.3, 1.6, 1.2, 1.8, 0.9, 0.7, 0.8, 0.3, 0.5, 0.9, 1.4, 1.3, 1.6, 1.2, 1.8, 0.9, 0.7]
}
Transform {
translation 0 -0.01 0
children [
Shape {
appearance Green { }
geometry ElevationGrid {
xDimension 8
xSpacing 1.3
zDimension 3
zSpacing 1
height [0.1, 0.2, 0.15, 0.4, 1, 1.2, 1, 0.8, 0.3, 0.5, 0.9, 1.4, 1.3, 1.6, 1.2, 1.8, 0.9, 0.7, 0.8, 0.3, 0.5, 0.9, 1.4, 1.3, 1.6, 1.2, 1.8, 0.9, 0.7]
solid FALSE
creaseAngle 6
}
}
]
}
DEF POPUP em7_PopupSurface {
xDimension 8
xSpacing 1.3
zDimension 3
zSpacing 1
height [0.1, 0.2, 0.15, 0.4, 1, 1.2, 1, 0.8, 0.3, 0.5, 0.9, 1.4, 1.3, 1.6, 1.2, 1.8, 0.9, 0.7, 0.8, 0.3, 0.5, 0.9, 1.4, 1.3, 1.6, 1.2, 1.8, 0.9, 0.7]
defaultPopupText "default text"
transparency 0.9
radius 0.25
popupHeight 0.3
allignment "TOP"
popupText ["One", "Two", "Three", "Four"]
textColor 0 0 0
backgroundColor 0.7 0.4 1
}
PointLight {
location 25 10 25
}
PointLight {
location -25 10 25
}